package com.mym;

import java.util.Random;
import java.util.Scanner;

/**
 * @author miao
 * @version 1.0
 * @date 2025/4/16 15:53
 * @description
 */
public class Test6 {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            int n = (int)   (Math.random()*14)+10;
            System.out.println(n);
        }
        Random random = new Random();
        for (int i = 0; i < 10; i++) {
            int n = random.nextInt(14)+10;
            System.out.println(n);
        }
        for (int i = 0; i < 10; i++) {
            int n = (int) (random.nextDouble(14)+10);
            System.out.println(n);
        }

    }

}
